#pragma once

#include <wx/wx.h>

int dao_get_timezone();

int dao_compare_version(const wxString& first, const wxString& second ); // 1 -- > ; -2 -- error  ; -1 -- < ; 0 -- =

#define __DAO_FUNC_NAME__ wxString::FromAscii(__PRETTY_FUNCTION__) 

#define __DAO_FATAL_ERROR__ wxMessageBox(_T("Fatal Error: Daodict will exit!\nSee log file for more information."), \
							_T("Fatal Error"), wxOK | wxICON_ERROR); \
							abort();
